﻿// -----------------------------------------------------------------------
// <copyright file="FileSortByName.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace TouchExplorer.FileComparers
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class FileSortByName : IComparer<TouchFile>
    {
        public int Compare(TouchFile x, TouchFile y)
        {
            return string.Compare(x.Name, y.Name);
        }
    }
}
